package com.sky.rabbit.consumer.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitDirectMQConfig {

    @Bean
    public Queue skyQueue(){
        return new Queue("sky");
    }

    @Bean
    public Queue nameQueue(){
        return new Queue("name");
    }

    @Bean
    public Queue hctQueue(){ return new Queue("hct"); }
}
